#include <stdio.h>

void test(int &x, int &y) {
	x = 10;
	y = 11;
}

void t(int *x, int *y) {
	*x = 100;
	*y = 101;
}

int main() {
	int a = 1,b = 2;
	test(a, b);
	printf("a = %d, b = %d\n",a,b);
	t(&a, &b);
	printf("a = %d, b = %d\n",a,b);
}
